package models

import "gorm.io/gorm"

type Good struct {
	gorm.Model
	Title  string  `gorm:"type:varchar(150);not null;commit:'商品名称'"`
	Price  float64 `gorm:"type:decimal(10,2);not null;commit:'商品价格'"`
	Stock  int64   `gorm:"type:int;not null;commit:'商品数量'"`
	Status int64   `gorm:"type:varchar(150);not null;commit:'商品状况:0-上架,1-下架'"`
}
